package com.dindang.checkline.mvp.model.entity;

import java.util.List;

/**
 * Created by cxw on & 2019/1/24
 */
public class TaskDetail {
    /**
     * data : {"line":{"bOrdered":true,"lTypeid":1,"lId":1,"cName":"测试1","lBuildingid":1138,"lCorpid":1001,"cDesc":"测试","cStatus":"1"},"record":{"d_start":"Mar 25, 2019 1:50:00 PM","c_no":"2019032513483227777779518942419","c_remark":"qq","d_execute":"Mar 28, 2019 3:40:41 PM","l_planid":1,"c_result":"qq","l_id":1,"d_close":"Mar 28, 2019 3:40:43 PM","c_status":"1","d_end":"Mar 25, 2019 1:55:00 PM"},"event":[{"pre_status":0,"c_desc":"陈恩接单","data_id":1,"next_status":1,"l_id":1,"operator":"吴成英","operate_time":"Mar 29, 2019 1:21:16 PM"},{"pre_status":1,"c_desc":"完成巡检项目1 ","data_id":1,"next_status":3,"l_id":2,"operator":"吴成英","operate_time":"Mar 29, 2019 1:21:43 PM"}],"plan":{"d_start":"Mar 20, 2019 8:04:10 PM","l_lineid":1,"c_name":"测试\u206e巡检任务1","l_id":1,"d_end":"Mar 28, 2019 8:02:21 PM","c_officer":"1,2","c_minuteahead":0}}
     * statuMsg : 查询成功
     * status : 1
     */
    /**
     * 查询任务详情
     */
    public static class TaskDetailParam {
        public String id;
    }

    /**
     * 改变任务状态
     */
    public static class ChangeStatus {
        public String id;
        public String reason;
        public long status;
        public String userId;
    }


        /**
         * line : {"bOrdered":true,"lTypeid":1,"lId":1,"cName":"测试1","lBuildingid":1183,"lCorpid":1001,"cDesc":"测试","lBuildingName":"体验小区（勿动）","cStatus":"1"}
         * record : {"d_start":"Apr 18, 2019 2:13:00 PM","l_buildingid":0,"c_no":"2019032513483227777779518942419","c_remark":"22222","d_execute":"Apr 19, 2019 9:42:29 AM","l_planid":1,"c_result":"1","l_id":1,"d_close":"Apr 19, 2019 9:42:40 AM","c_status":"2","d_end":"Apr 19, 2019 1:55:00 PM"}
         * event : [{"pre_status":1,"c_desc":"开始接单","data_id":1,"next_status":2,"l_id":2,"operator":"郑春雷","operate_time":"Apr 19, 2019 12:00:20 PM","officers":[{"l_recordid":1,"l_id":1,"c_status":"1","c_officer":"吴成英"},{"l_recordid":1,"l_id":2,"c_status":"2","c_officer":"郑春雷"}]},{"pre_status":0,"c_desc":"等待接单啊","data_id":1,"next_status":1,"l_id":1,"operate_time":"Apr 19, 2019 10:54:43 AM"}]
         * plan : {"l_corpid":1100,"d_end":"Apr 19, 2019 8:02:21 PM","c_officer":"1,2","c_minuteahead":0,"b_photo":true,"d_start":"Apr 18, 2019 5:32:10 PM","l_buildingid":1183,"c_desc":"qadsa","l_lineid":1,"c_name":"测试\u206e巡检任务1","l_id":1,"c_status":1,"d_create":"Mar 30, 2019 10:01:20 AM"}
         */

        private LineBean line;
        private RecordBean record;
        private PlanBean plan;
        private List<EventBean> event;

        public LineBean getLine() {
            return line;
        }

        public void setLine(LineBean line) {
            this.line = line;
        }

        public RecordBean getRecord() {
            return record;
        }

        public void setRecord(RecordBean record) {
            this.record = record;
        }

        public PlanBean getPlan() {
            return plan;
        }

        public void setPlan(PlanBean plan) {
            this.plan = plan;
        }

        public List<EventBean> getEvent() {
            return event;
        }

        public void setEvent(List<EventBean> event) {
            this.event = event;
        }

        public static class LineBean {
            /**
             * bOrdered : true
             * lTypeid : 1
             * lId : 1
             * cName : 测试1
             * lBuildingid : 1183
             * lCorpid : 1001
             * cDesc : 测试
             * lBuildingName : 体验小区（勿动）
             * cStatus : 1
             */

            private boolean bOrdered;
            private int lTypeid;
            private long lId;
            private String cName;
            private long lBuildingid;
            private long lCorpid;
            private String cDesc;
            private String lBuildingName;
            private String cStatus;

            public boolean isBOrdered() {
                return bOrdered;
            }

            public void setBOrdered(boolean bOrdered) {
                this.bOrdered = bOrdered;
            }

            public int getLTypeid() {
                return lTypeid;
            }

            public void setLTypeid(int lTypeid) {
                this.lTypeid = lTypeid;
            }

            public long getLId() {
                return lId;
            }

            public void setLId(long lId) {
                this.lId = lId;
            }

            public String getCName() {
                return cName;
            }

            public void setCName(String cName) {
                this.cName = cName;
            }

            public long getLBuildingid() {
                return lBuildingid;
            }

            public void setLBuildingid(long lBuildingid) {
                this.lBuildingid = lBuildingid;
            }

            public long getLCorpid() {
                return lCorpid;
            }

            public void setLCorpid(long lCorpid) {
                this.lCorpid = lCorpid;
            }

            public String getCDesc() {
                return cDesc;
            }

            public void setCDesc(String cDesc) {
                this.cDesc = cDesc;
            }

            public String getLBuildingName() {
                return lBuildingName;
            }

            public void setLBuildingName(String lBuildingName) {
                this.lBuildingName = lBuildingName;
            }

            public String getCStatus() {
                return cStatus;
            }

            public void setCStatus(String cStatus) {
                this.cStatus = cStatus;
            }
        }

        public static class RecordBean {
            /**
             * d_start : Apr 18, 2019 2:13:00 PM
             * l_buildingid : 0
             * c_no : 2019032513483227777779518942419
             * c_remark : 22222
             * d_execute : Apr 19, 2019 9:42:29 AM
             * l_planid : 1
             * c_result : 1
             * l_id : 1
             * d_close : Apr 19, 2019 9:42:40 AM
             * c_status : 2
             * d_end : Apr 19, 2019 1:55:00 PM
             */

            private String d_start;
            private long l_buildingid;
            private String c_no;
            private String c_remark;
            private String d_execute;
            private long l_planid;
            private String c_result;
            private long l_id;
            private String d_close;
            private String c_status;
            private String d_end;

            public String getD_start() {
                return d_start;
            }

            public void setD_start(String d_start) {
                this.d_start = d_start;
            }

            public long getL_buildingid() {
                return l_buildingid;
            }

            public void setL_buildingid(long l_buildingid) {
                this.l_buildingid = l_buildingid;
            }

            public String getC_no() {
                return c_no;
            }

            public void setC_no(String c_no) {
                this.c_no = c_no;
            }

            public String getC_remark() {
                return c_remark;
            }

            public void setC_remark(String c_remark) {
                this.c_remark = c_remark;
            }

            public String getD_execute() {
                return d_execute;
            }

            public void setD_execute(String d_execute) {
                this.d_execute = d_execute;
            }

            public long getL_planid() {
                return l_planid;
            }

            public void setL_planid(long l_planid) {
                this.l_planid = l_planid;
            }

            public String getC_result() {
                return c_result;
            }

            public void setC_result(String c_result) {
                this.c_result = c_result;
            }

            public long getL_id() {
                return l_id;
            }

            public void setL_id(long l_id) {
                this.l_id = l_id;
            }

            public String getD_close() {
                return d_close;
            }

            public void setD_close(String d_close) {
                this.d_close = d_close;
            }

            public String getC_status() {
                return c_status;
            }

            public void setC_status(String c_status) {
                this.c_status = c_status;
            }

            public String getD_end() {
                return d_end;
            }

            public void setD_end(String d_end) {
                this.d_end = d_end;
            }
        }

        public static class PlanBean {
            /**
             * l_corpid : 1100
             * d_end : Apr 19, 2019 8:02:21 PM
             * c_officer : 1,2
             * c_minuteahead : 0
             * b_photo : true
             * d_start : Apr 18, 2019 5:32:10 PM
             * l_buildingid : 1183
             * c_desc : qadsa
             * l_lineid : 1
             * c_name : 测试⁮巡检任务1
             * l_id : 1
             * c_status : 1
             * d_create : Mar 30, 2019 10:01:20 AM
             */

            private long l_corpid;
            private String d_end;
            private String c_officer;
            private long c_minuteahead;
            private String b_photo;
            private String d_start;
            private long l_buildingid;
            private String c_desc;
            private long l_lineid;
            private String c_name;
            private long l_id;
            private long c_status;
            private String d_create;
            private String c_mode;

            public void setC_mode(String c_mode) {
                this.c_mode = c_mode;
            }

            public String getC_mode() {
                return c_mode;
            }

            public long getL_corpid() {
                return l_corpid;
            }

            public void setL_corpid(long l_corpid) {
                this.l_corpid = l_corpid;
            }

            public String getD_end() {
                return d_end;
            }

            public void setD_end(String d_end) {
                this.d_end = d_end;
            }

            public String getC_officer() {
                return c_officer;
            }

            public void setC_officer(String c_officer) {
                this.c_officer = c_officer;
            }

            public long getC_minuteahead() {
                return c_minuteahead;
            }

            public void setC_minuteahead(long c_minuteahead) {
                this.c_minuteahead = c_minuteahead;
            }

            public String isB_photo() {
                return b_photo;
            }

            public void setB_photo(String b_photo) {
                this.b_photo = b_photo;
            }

            public String getD_start() {
                return d_start;
            }

            public void setD_start(String d_start) {
                this.d_start = d_start;
            }

            public long getL_buildingid() {
                return l_buildingid;
            }

            public void setL_buildingid(long l_buildingid) {
                this.l_buildingid = l_buildingid;
            }

            public String getC_desc() {
                return c_desc;
            }

            public void setC_desc(String c_desc) {
                this.c_desc = c_desc;
            }

            public long getL_lineid() {
                return l_lineid;
            }

            public void setL_lineid(long l_lineid) {
                this.l_lineid = l_lineid;
            }

            public String getC_name() {
                return c_name;
            }

            public void setC_name(String c_name) {
                this.c_name = c_name;
            }

            public long getL_id() {
                return l_id;
            }

            public void setL_id(long l_id) {
                this.l_id = l_id;
            }

            public long getC_status() {
                return c_status;
            }

            public void setC_status(long c_status) {
                this.c_status = c_status;
            }

            public String getD_create() {
                return d_create;
            }

            public void setD_create(String d_create) {
                this.d_create = d_create;
            }
        }

        public static class EventBean {
            /**
             * pre_status : 1
             * c_desc : 开始接单
             * data_id : 1
             * next_status : 2
             * l_id : 2
             * operator : 郑春雷
             * operate_time : Apr 19, 2019 12:00:20 PM
             * officers : [{"l_recordid":1,"l_id":1,"c_status":"1","c_officer":"吴成英"},{"l_recordid":1,"l_id":2,"c_status":"2","c_officer":"郑春雷"}]
             */

            private long pre_status;
            private String c_desc;
            private long data_id;
            private int next_status;
            private long l_id;
            private String operator;
            private String operate_time;
            private List<OfficersBean> officers;

            public long getPre_status() {
                return pre_status;
            }

            public void setPre_status(long pre_status) {
                this.pre_status = pre_status;
            }

            public String getC_desc() {
                return c_desc;
            }

            public void setC_desc(String c_desc) {
                this.c_desc = c_desc;
            }

            public long getData_id() {
                return data_id;
            }

            public void setData_id(long data_id) {
                this.data_id = data_id;
            }

            public int getNext_status() {
                return next_status;
            }

            public void setNext_status(int next_status) {
                this.next_status = next_status;
            }

            public long getL_id() {
                return l_id;
            }

            public void setL_id(long l_id) {
                this.l_id = l_id;
            }

            public String getOperator() {
                return operator;
            }

            public void setOperator(String operator) {
                this.operator = operator;
            }

            public String getOperate_time() {
                return operate_time;
            }

            public void setOperate_time(String operate_time) {
                this.operate_time = operate_time;
            }

            public List<OfficersBean> getOfficers() {
                return officers;
            }

            public void setOfficers(List<OfficersBean> officers) {
                this.officers = officers;
            }

            public static class OfficersBean {
                /**
                 * l_recordid : 1
                 * l_id : 1
                 * c_status : 1
                 * c_officer : 吴成英
                 */

                private long l_recordid;
                private long l_id;
                private String c_status;
                private String c_officer;

                public long getL_recordid() {
                    return l_recordid;
                }

                public void setL_recordid(long l_recordid) {
                    this.l_recordid = l_recordid;
                }

                public long getL_id() {
                    return l_id;
                }

                public void setL_id(long l_id) {
                    this.l_id = l_id;
                }

                public String getC_status() {
                    return c_status;
                }

                public void setC_status(String c_status) {
                    this.c_status = c_status;
                }

                public String getC_officer() {
                    return c_officer;
                }

                public void setC_officer(String c_officer) {
                    this.c_officer = c_officer;
                }
            }
        }
}
